<?php
include './common/home.php';
/*
	//查询parentid=0 的字段
$table  = DB_TABLE_CG;
$fields = 'classname';
$where  = 'where parentid=0 order by orderby';
$data0   = select($link,$table,$fields,$where);
//var_dump($data0);
*/



//
$title  = '丁江的论坛';
$table  = DB_TABLE_CG;
$fields = 'classname';
$where  = 'where parentid=2';
$data   = select($link,$table,$fields,$where);

//var_dump($data0);

$compere = 'tessttt00000';

$Ctime   = date('Y-m-d H:m:s',time());

//var_dump($compere);
$vars = compact('title','data0','data','compere','Ctime');
display('num_two.html',$vars);


